<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link type="text/css" href="/css/core.css" rel="stylesheet"/>
    <link type="text/css" href="/layui/css/layui.css" rel="stylesheet">
    <link type="text/css" href="/css/main/module/article/writearticle.css" rel="stylesheet">
</head>
<body>
<div id="all">
    <div th:include="main/main_h :: main_head"></div>
    <div id="core">
        <div id="main">
            <div id="gn_d">
                <form id="form" method="post" enctype="multipart/form-data" action="/module/article/submit">
                    <div id="gn_h">
                        <div id="bt_d">
                            <span id="bt">标题:</span>
                            <input type="text" id="btnr" name="btnr" />
                        </div>
                        <div id="fm_d">
                            <span id="fm">封面:</span>
                            <img id="fmyl" alt="预览图" />
                            <input type="file" id="fmnr" name="fmnr" onchange="previewImage(event)" />
                        </div>
                    </div>
                    <div id="gn_m">
                        <div id="wznr_d">
                            <textarea id="wznr" name="wznr"></textarea>
                        </div>
                    </div>
                    <div id="gn_b">
                        <div id="tj_d">
                            <input type="hidden" id="form_state" name="form_state">
                            <input type="button" id="bc" value="保存" onclick="tianjia(0)"/>
                            <input type="button" id="tj" value="提交" onclick="tianjia(1)"/>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/js/gj/jquery-3.5.1.min.js"></script>
<script src="/js/gj/jquery.form.js"></script>
<script src="/layui/layui.js"></script>
<script src="/tinymce/tinymce.js"></script>
<script src="/js/main/module/article/writearticle.js"></script>
</html>